﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ORMEF
{
    class Program
    {
        static void Main(string[] args)
        {
            Database.SetInitializer(new DbInitializer());

            using(Admin520DbContex db = new Admin520DbContex())
            {
                //db.Database.Initialize(true);

                db.Brands.ToList();
            }
        }
    }
}
